package br.com.duduso.conferencia_claro_desktop.utils;

import java.io.InputStream;
import java.net.URL;

/**
 *
 * @author duduso
 */
public class ResourceUtils {

    public static InputStream getStream(String path){
            return ClassLoader.getSystemClassLoader()
                    .getClass().getResourceAsStream(path);
    }

    public static URL getURL(String path){
            return ClassLoader.getSystemClassLoader()
                    .getClass().getResource(path);
    }

}
